PGetConvertTwips(short dTwips, short cMeasureUnits);
short dTwips;
Measurement in twips to be converted
short cMeasureUnits
Measurement units to convert the measurement to:
kMeasurementInches
kMeasurementDecimalInches
kMeasurementMetric for millimeters
kMeasurementPica for picas and points
kMeasurementCicero
kParmDontCare (-2) to use the default measurement system
const char * sMeasurement;
Measurement converted to the specified units as a C string.Unit specified in return value. When you specify measurement units, PageMaker includes the unit abbreviation with the value. These abbreviations are:
Units | Abbreviation | Example |
---|---|---|
Inches | i | "5.625i" |
Millimeters | m | "25m" |
Picas | p after number | "18p" |
Points | p before number | "p6" |
Picas and points | p between numbers | "18p6" |
Ciceros | c after number | "5c" |
If you set cMeasureUnits to kParmDontCare , PageMaker uses the default measurement system and does not include the units abbreviation with the return value.
Comments or suggestions? Contact Adobe Developer Support